package com.cindata

import grails.boot.GrailsApp
import grails.boot.config.GrailsAutoConfiguration

class Application extends GrailsAutoConfiguration
{
    static void main(String[] args)
    {
        long start = System.currentTimeMillis()
        GrailsApp.run(Application, args)
        long end = System.currentTimeMillis();
        println "启动成功  耗时:"+(end-start)/1000 +"s."
        println "总分配内存"+Runtime.getRuntime().totalMemory()/1024/1024+"MB";
        println "最大内存"+Runtime.getRuntime().maxMemory()/1024/1024+"MB";
        println "空闲内存"+Runtime.getRuntime().freeMemory()/1024/1024+"MB";
    }
}